//
//  PKRadioDetailModel.m
//  PianKe
//
//  Created by ybq on 15/12/23.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKRadioDetailModel.h"

@implementation PKRadioDetailModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"userinfo"]) {
        _icon = value[@"icon"];
        _uname = value[@"uname"];
        _uid = value[@"uid"];
    }
    if ([key isEqualToString:@"playInfo"]) {
        _imgUrl = value[@"imgUrl"];
        _musicUrl = value[@"musicUrl"];
        _webview_url = value[@"webview_url"];
        _tingid = value[@"tingid"];
        _ting_contentid = value[@"ting_contentid"];
        
        _icon = value[@"userinfo"][@"icon"];
        _uname = value[@"userinfo"][@"uname"];
        _uid = value[@"userinfo"][@"uid"];
        
    }
}

@end
